package com.test.flex.mybatisflexdemo;

import com.mybatisflex.core.FlexGlobalConfig;
import com.mybatisflex.core.audit.AuditManager;
import com.mybatisflex.spring.boot.MyBatisFlexCustomizer;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @since 2023-08-17 上午11:26
 */
@Configuration
public class MyBatisFlexConfig implements MyBatisFlexCustomizer {

    public MyBatisFlexConfig() {
        AuditManager.setAuditEnable(true);
    }


    /**
     * @param flexGlobalConfig
     */
    @Override
    public void customize(FlexGlobalConfig flexGlobalConfig) {
    }
}
